<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
	<meta http-equiv="content-type" content="text/html;charset=utf-8">
    <base href="<%=basePath%>">
    <title>登录页面</title>
  </head>
  
  <body>
  	<form action="login.do" method="post">
    <table bordercolor="red" align="left" >
    	<tr>
    		<th>用户名：</th>
    		<td><input type="text" name="username" /></td>
    	</tr>
    	<tr>
    		<th>密 码：</th>
    		<td><input type="password" name="password" /></td>
    	</tr>
    	<tr>
    		<th>&nbsp;</th>
    		<td><input type="submit" name="登 录" /></td>
    	</tr>
    </table>
    </form>
  </body>
</html>
